package cn.hl.sentinel;

import cn.hl.domain.User;
import org.springframework.web.bind.annotation.PathVariable;

public class OrderFallback {

    public static User getById(@PathVariable("id") Long id, Throwable e) {
        return new User(-1L, "熔断", "服务不可用，请稍后重试！");
    }
}
